﻿@model EditorialProyectos.Website.Models.CategoryViewModel

<h2>Crear Categoría</h2>

<div class="row action-bar">
    @Action.Back()
</div>

<div class="row" data-bind="with: Entity">
    @using (Html.BeginForm("Create", "Category", FormMethod.Post, new { id = "CategoryCreate" }))
    {
        @Html.Partial("FieldsPartial", Model)

        <button data-bind="click: $root.Create" type="submit" class="btn btn-action btn-full-width">@Html.LocalizedAction("Create")</button>
    }
</div>
